package step1;

public class HunauDownloader {
    private ThirdPartyhunauLib api;
    public HunauDownloader(ThirdPartyhunauLib api) {
        this.api = api;
    }
    public void renderVideoPage(String videoId) {
        Video video = api.getVideo(videoId);
        System.out.println("\n-------------------------------");
        System.out.println("Video page (imagine fancy HTML)");
        System.out.println("ID: " + video.id);
        System.out.println("Title: " + video.title);
        System.out.println("Video: " + video.data);
        System.out.println("-------------------------------\n");
    }

}
